<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <!--   默认选中checked-->
    兴趣爱好：<input type="checkbox" name="a" checked>敲代码
    <input type="checkbox" name="a"> 敲前端代码 <br/>
</body>
</html>